package com.leadingsoft.pwxk.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.FileDetail;
import com.leadingsoft.pwxk.repository.FileDetailRepository;
import com.leadingsoft.pwxk.service.FileDetailService;

@Service
public class FileDetailServiceImpl implements FileDetailService {

	@Autowired
	FileDetailRepository fileDetailRepository;

	@Override
	public List<FileDetail> getList(String dataId) {
		return fileDetailRepository.findByDataid(dataId);
	}

}
